<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="rapid" uri="http://www.rapid-framework.org.cn/rapid"%>
<rapid:override name="title">
    - 回复评论
</rapid:override>
<rapid:override name="header-style">
	<style>
/*覆盖 layui*/
.layui-btn {
	margin: 2px 0 !important;
}
</style>
</rapid:override>

<rapid:override name="frame-content">

	<div style="padding: 15px;">
		<blockquote class="layui-elem-quote">
			<span class="layui-breadcrumb" lay-separator="/"> <a
				href="user/index">首页</a> <a href="comment">评论列表</a> <a><cite>回复评论</cite></a>
			</span>
		</blockquote>

		<form class="layui-form" method="post" id="myForm"
			action="comment/replySubmit">
			<input type="hidden" name="commentPid" value="${comment.commentPid }"> <input
				type="hidden" name="commentPname" value="${comment.commentPname }"> <input
				type="hidden" name="commentArticleId" value="${comment.commentArticleId }"> <input
				type="hidden" name="commentRole" value="1">

			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">原内容</label>
				<div class="layui-input-block">
					<textarea class="layui-textarea" disabled>${comment.commentContent }</textarea>
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">我的昵称 </label>
				<div class="layui-input-block">
					<input type="text" name="commentAuthorName" value="${comment.commentAuthorName }"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">我的邮箱 </label>
				<div class="layui-input-block">
					<input type="text" name="commentAuthorEmail"
						value="${comment.commentAuthorEmail }" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">我的网址 </label>
				<div class="layui-input-block">
					<input type="text" name="commentAuthorUrl"
						value="${comment.commentAuthorUrl }" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">我的回复</label>
				<div class="layui-input-block">
					<textarea name="commentContent" id="commentContent" class="layui-textarea"></textarea>
				</div>
			</div>

			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit="" lay-filter="demo1">回复</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>

		</form>
	</div>


</rapid:override>
<rapid:override name="footer-script">
	<script>
		
	</script>
</rapid:override>

<%@ include file="../framework.jsp"%>
